package com.tjetc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

// 指定 Mapper 接口所在的包（com.tjetc.dao 是你的 AdminsDao 所在包）
@MapperScan("com.tjetc.dao")
@SpringBootApplication
public class BootApplication {
    public static void main(String[] args) {
        // 启动Spring应用并获取上下文
        ConfigurableApplicationContext context = SpringApplication.run(BootApplication.class, args);
    }
}
